Call gdk_keyval_to_lower() on the key passed in, since we lowercase all
authorOwen Taylor <otaylor@redhat.com>
Fri, 29 Mar 2002 23:15:03 +0000 (23:15 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Fri, 29 Mar 2002 23:15:03 +0000 (23:15 +0000)
Fri Mar 29 18:09:18 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkaccelgroup.c (gtk_accel_group_query): Call
        gdk_keyval_to_lower() on the key passed in, since we
        lowercase all other key vals passed in, so querying
        keyvals will otherwise fail if the caller used
        an uppercase accelerators (#76899, Vitaly Tishkov)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkaccelgroup.c

index 2bfbfff221742506fdd9c7cc6a48efd07a7cb60e..a90b6b16af63ec8d8e6164e3b18054dcc6ef1753 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+Fri Mar 29 18:09:18 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkaccelgroup.c (gtk_accel_group_query): Call 
+       gdk_keyval_to_lower() on the key passed in, since we
+       lowercase all other key vals passed in, so querying
+       keyvals will otherwise fail if the caller used
+       an uppercase accelerators (#76899, Vitaly Tishkov)
+
 Fri Mar 29 17:41:21 2002  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkmain.c (load_modules): Fix screwup in handling
index 2bfbfff221742506fdd9c7cc6a48efd07a7cb60e..a90b6b16af63ec8d8e6164e3b18054dcc6ef1753 100644 (file)
@@ -1,3 +1,11 @@
+Fri Mar 29 18:09:18 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkaccelgroup.c (gtk_accel_group_query): Call 
+       gdk_keyval_to_lower() on the key passed in, since we
+       lowercase all other key vals passed in, so querying
+       keyvals will otherwise fail if the caller used
+       an uppercase accelerators (#76899, Vitaly Tishkov)
+
 Fri Mar 29 17:41:21 2002  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkmain.c (load_modules): Fix screwup in handling
index 2bfbfff221742506fdd9c7cc6a48efd07a7cb60e..a90b6b16af63ec8d8e6164e3b18054dcc6ef1753 100644 (file)
@@ -1,3 +1,11 @@
+Fri Mar 29 18:09:18 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkaccelgroup.c (gtk_accel_group_query): Call 
+       gdk_keyval_to_lower() on the key passed in, since we
+       lowercase all other key vals passed in, so querying
+       keyvals will otherwise fail if the caller used
+       an uppercase accelerators (#76899, Vitaly Tishkov)
+
 Fri Mar 29 17:41:21 2002  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkmain.c (load_modules): Fix screwup in handling
index 2bfbfff221742506fdd9c7cc6a48efd07a7cb60e..a90b6b16af63ec8d8e6164e3b18054dcc6ef1753 100644 (file)
@@ -1,3 +1,11 @@
+Fri Mar 29 18:09:18 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkaccelgroup.c (gtk_accel_group_query): Call 
+       gdk_keyval_to_lower() on the key passed in, since we
+       lowercase all other key vals passed in, so querying
+       keyvals will otherwise fail if the caller used
+       an uppercase accelerators (#76899, Vitaly Tishkov)
+
 Fri Mar 29 17:41:21 2002  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkmain.c (load_modules): Fix screwup in handling
index 2bfbfff221742506fdd9c7cc6a48efd07a7cb60e..a90b6b16af63ec8d8e6164e3b18054dcc6ef1753 100644 (file)
@@ -1,3 +1,11 @@
+Fri Mar 29 18:09:18 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkaccelgroup.c (gtk_accel_group_query): Call 
+       gdk_keyval_to_lower() on the key passed in, since we
+       lowercase all other key vals passed in, so querying
+       keyvals will otherwise fail if the caller used
+       an uppercase accelerators (#76899, Vitaly Tishkov)
+
 Fri Mar 29 17:41:21 2002  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkmain.c (load_modules): Fix screwup in handling
index 2bfbfff221742506fdd9c7cc6a48efd07a7cb60e..a90b6b16af63ec8d8e6164e3b18054dcc6ef1753 100644 (file)
@@ -1,3 +1,11 @@
+Fri Mar 29 18:09:18 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkaccelgroup.c (gtk_accel_group_query): Call 
+       gdk_keyval_to_lower() on the key passed in, since we
+       lowercase all other key vals passed in, so querying
+       keyvals will otherwise fail if the caller used
+       an uppercase accelerators (#76899, Vitaly Tishkov)
+
 Fri Mar 29 17:41:21 2002  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkmain.c (load_modules): Fix screwup in handling
index 1b95325e36a7313397526a2aaf198fce277128d7..4cf27e5c9b2d53b2c19768f7f79f6c8e32ad0ada 100644 (file)
@@ -695,7 +695,7 @@ gtk_accel_group_query (GtkAccelGroup  *accel_group,
 
   g_return_val_if_fail (GTK_IS_ACCEL_GROUP (accel_group), NULL);
 
-  entries = quick_accel_find (accel_group, accel_key, accel_mods, &n);
+  entries = quick_accel_find (accel_group, gdk_keyval_to_lower (accel_key), accel_mods, &n);
 
   if (n_entries)
     *n_entries = entries ? n : 0;